<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript" src="/fuman/js/oversea.js"></script>
<title>运输任务｜海外仓管理</title>
<script type="text/javascript">
	jQuery(document).ready(function(){
		
	});
</script>
<body class="withvernav">
<div class="bodywrapper">
{{include file='/public/leftmenu.tpl'}}
<div class="centercontent tables">
  <div class="pageheader notab">
    <h1 class="pagetitle">运输任务</h1>
    <span class="pagedesc"></span>
            <div class="menulist">
        		<ul class="profile_summary">
                       
                        
                    </ul>
               </div> </div>
  <!--pageheader-->
  
  <div class="page">{{$pageList}} 计{{$total}}条记录，共{{$totalpage}}页</div>
  <div id="contentwrapper" class="contentwrapper"> 
    <!--搜索栏-->
    <form class="stdform stdform2" method="post" action="/oversea/transportboxtypelist">
      <div class="tableoptions"> 操作时间：
        <input type="text"  name="starttime" value="{{$starttime}} " onClick="WdatePicker({dateFmt:'yyyy-MM-dd '})" class="width100 hasDatepicker" /> - <input type="text"  name="endtime" value="{{$endtime}} " onClick="WdatePicker({dateFmt:'yyyy-MM-dd '})" class="width100 hasDatepicker" />
       其他搜索: <input type="text" name="other" id="other" class="width100" value="{{$other}}" />
       
                           
                          
                           
        &nbsp;
        <button class="radius3">Search</button>
                  <button class="radius3" type="button" onClick="changisQuality()">核验完成</button>
&nbsp;&nbsp;&nbsp;&nbsp;
          <button class="radius3" type="button" onClick="chggoodsstatus()">生成运输任务</button>
          
      </div>
    </form>
    <!--搜索栏结束-->
    <div class="x_content" style="overflow-x:auto;">
    <table cellpadding="0" cellspacing="0" border="0" class="stdtable">
      <colgroup>
      <col class="con1" />
      <col class="con0" />
      <col class="con1" />
      <col class="con0" />
      <col class="con1" />
      <col class="con0" />
      <col class="con1" />
      </colgroup>
      <thead>
        <tr>
        <th class="head0"><input name="allchk" id="allchk" type="checkbox" onClick="allSelect('ppid[]')"></th>
         <th class="head0">箱号</th>
          <th class="head0">核验状态</th>
          <th class="head0">运输计划编号</th>
          <th class="head0">箱子状态</th>
          <th class="head0">始发地</th>
          <th class="head1">目的地</th>
          <th class="head0">运输方式</th>
          <th class="head0">SKU数</th>
          <th class="head0">总数量</th>
          <th class="head0">总成本</th>
          <th class="head0">经办人</th>
          
          
        </tr>
      </thead>
      <tbody>
      
      {{foreach from=$list item=li key=key}}
      <tr>
      <td><input name="ppid[]" type="checkbox" value="{{$li.pid}}"></td>
      <td><a href="/oversea/showbox/{{$li.pid}}" target="_blank">
      {{if $li.isQuality==0}}
      	<font color="red">{{$li.boxnumber}}</font></a>
      {{else}}
      	<font color="#0000FF">{{$li.boxnumber}} </font></a>
      {{/if}}
      </td>
       <td> {{if $li.isQuality==0}}
       未核验
       	{{else}}
      	核验员：{{$li.QualityUser}}
      {{/if}}
       	</td>
        <td>{{$li.groupid}}</td>
        <td>
        {{if $li.status==1}} 新创建{{/if}}
        {{if $li.status==2}} 一审通过{{/if}}
        {{if $li.status==22}} 一审不通过{{/if}}
       	{{if $li.status==3}} 二审通过{{/if}}
        {{if $li.status==33}} 二审不通过{{/if}}
        {{if $li.status==4}}封箱完成{{/if}}
        </td>
        <td>{{$li.startingplace}}</td>
        <td>{{$li.destination}}</td>
      
        <td class="center">{{$li.transportmode}}</td>
        <td class="center">{{$li.skunum}}</td>
        <td class="center">{{$li.quantity}}</td>
        <td class="center">{{$li.allprice}}</td>
        <td class="center">{{$li.createoper}}</td>
        
       
      </tr>
      {{/foreach}}
        </tbody>
      
    </table>
    </div>
    <div class="page">{{$pageList}}</div>
    <br />
    <br />
  </div>
</div>
<!--bodywrapper-->

</body>
</html>